#include <stdio.h>
struct Student
{
    char name[10];
    int age;
    int score;
};

int main()
{
    struct Student stu1 = {"张三", 21, 100};
    struct Student stu2 = {"李四", 21, 99};
    struct Student stu3 = {"王五", 21, 87};

    struct Student stu[3] = {stu1, stu2, stu3};

    printf("%d\n", sizeof(struct Student));
    printf("%d\n", sizeof(stu1));
    printf("%d\n", sizeof(stu));

    printf("姓名\t年龄\t成绩\n");
    for (int i = 0; i < 3; i++)
    {
        printf("%s\t%d\t%d\n", stu[i].name, stu[i].age, stu[i].score);
    }

    return 0;
}